home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $Filename: pwd.h $
- ** $Release$
- ** $Revision: 3.3 $
- ** $Date: 1994/04/07 20:23:52 $
- **
- ** Definitions of uid_t and passwd structure for 32 bit C compilers
- **
- ** Copyright © 1993,1994 AmiTCP/IP Group, <AmiTCP-Group@hut.fi>
- ** Helsinki University of Technology, Finland.
- ** All rights reserved.
- */
-
-
- /* The passwd structure */
- OBJECT passwd
- pw_name:PTR TO BYTE, /* Username */
- pw_passwd:PTR TO BYTE, /* Encrypted password */
- pw_uid:LONG, /* User ID */
- pw_gid:LONG, /* Group ID */
- pw_gecos:PTR TO BYTE, /* Real name etc */
- pw_dir:PTR TO BYTE, /* Home directory */
- pw_shell:PTR TO BYTE /* Shell */
-
- /*
- struct passwd *getpwuid(uid_t uid);
- struct passwd *getpwnam(const char *name);
-
- void setpwent(void);
- struct passwd *getpwent(void);
- void endpwent(void);
- */
-